package com.yk.serivice;

import org.springframework.stereotype.Component;

@Component
public class PaymentServiceImpl implements PaymentService {


    @Override
    public String paymentInfo_OK(Integer id) {
        return "对方服务宕机了 8001 --PaymentServiceImpl fall back paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "对方服务宕机了 8001 --PaymentServiceImpl fall back paymentInfo_TimeOut";
    }
}
